<script lang="ts">
import Vue from 'vue'

import Student from "./components/Student.vue";

export default Vue.extend({
  name: "App",
  components: {
    Student
  }
})
</script>

<template>
  <div>
    // :age是v-bind age 的简写,表示引号里是表达式
    <Student name="李四" sex="女" :age="18+1"/>
    <Student name="王五" sex="男" age="19"/>
    <hr>
  </div>
</template>

<style scoped>

</style>